import userLoginMain from "@/components/user/userLoginMain";
import postTask from "@/components/user/Components/postTask";
import programmer from "@/components/user/Components/programmer";
import personCenter from "@/components/user/person/personCenter";
import pC_MyWork from "@/components/user/person/Components/pC_MyWork";
import pC_Info from "@/components/user/person/Components/pC_Info";
import infoMain from "@/components/user/info/infoMain";
import infoMine from "@/components/user/info/infoMine";
import infoSkill from "@/components/user/info/infoSkill";
import infoInfluence from "@/components/user/info/infoInfluence";
import task from "@/components/user/Components/task";
import compared from "@/components/user/Components/compared";
import userInfoMain from "@/components/user/Components/userInfoMain";
import taskDetails from "@/components/user/Components/taskDetails";
import chooseTalent from "@/components/user/person/Components/Components/chooseTalent";
import taskProgress from "@/components/user/person/Components/Components/taskProgress";
import publicComment from "@/components/user/person/Components/Components/publicComment";
import technologyCredit from "@/components/user/Components/technologyCredit";
import contract from "@/components/pay/contract";

const routes = [
    {
        path: '/userLoginMain',
        name: 'UserLoginMain',
        component: userLoginMain,
        children: [{
            path: 'postTask',
            component: postTask
        }, {
            path: '',
            component: programmer
        }, {
            path: 'programmer',
            component: programmer
        }, {
            path: 'compared',
            component: compared
        }, {
            path: 'userInfoMain',
            component: userInfoMain
        }, {
            path: 'personCenter',
            component: personCenter,
            children: [
                {
                    path: 'pCMyWork',
                    component: pC_MyWork,

                }, {
                    path: 'pCInfo',
                    component: pC_Info
                },
                {
                    path: 'publicComment',
                    component: publicComment
                }
            ]
        }, {
            path: 'infoMain',
            component: infoMain
        }, {
            path: 'infoMine',
            component: infoMine
        }, {
            path: 'infoSkill',
            component: infoSkill
        }, {
            path: 'infoInfluence',
            component: infoInfluence
        }, {
            path: '/task',
            component: task
        }, {
            path: '/taskDetails',
            component: taskDetails
        }, {
            path: '/chooseTalent',
            component: chooseTalent
        }, {
            path: '/taskProgress',
            component: taskProgress
        }, {
            path: '/technologyCredit',
            component: technologyCredit
        }, {
            path: '/contract',
            component: contract
        }],

    }
]

export default routes
